package com.fs.erp.api.basedata.mappers;

import com.fs.erp.api.basedata.bo.product.QueryProductSalePropBo;
import com.fs.erp.api.basedata.entity.ProductSalepropGroup;
import com.fs.erp.api.basedata.vo.UpdateProductSalepropVo;
import com.fs.erp.api.basedata.vo.product.QueryProductSalePropVo;
import com.fs.erp.mybatis.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProductSalepropMapper extends BaseMapper<ProductSalepropGroup> {
    /**
     * 分页
     * @param vo
     * @return
     */
    List<ProductSalepropGroup> querySaleprop(@Param("vo") QueryProductSalePropVo vo);

    Integer updateAll(@Param("vo") UpdateProductSalepropVo vo);

    QueryProductSalePropBo selectSalepropById(String id);
}
